package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import org.springframework.stereotype.Service;

import java.util.List;


public interface DishService {
    //添加菜品
    void saveWithFlavor(DishDTO dishDTO);

    //分页查询
    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    //批量删除
    void delete(List<Long> ids);

    DishVO dishById(Long id);

    void updateDish(DishDTO dishDTO);
}
